package priv.menguer.proxy.service.impl;

import priv.menguer.proxy.service.Image;

/**
 * @Title RealImage.java
 * @description TODO
 * @time 2018年10月26日 上午10:37:54
 * @author menguer@126.com
 * @version 1.0
 */
public class RealImage implements Image {

	private String fileName;

	public RealImage(String fileName) {
		this.fileName = fileName;
		loadFromDisk(fileName);
	}

	@Override
	public void display() {
		System.out.println("Displaying " + fileName);
	}

	private void loadFromDisk(String fileName) {
		System.out.println("Loading " + fileName);
	}
}
